<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="tz" uri="/WEB-INF/tld/tz.tld"%>
<div class="top">
	<div class="head">
		<div class="logo">
			<a href="${basePath}/stage/index"><img style="opacity: 1;" src="../resources/images/logo1.jpg" width="252" height="105" alt="尚学堂"></a>
		</div>
		<div class="right">
			<a href="javascript:void(0)"><img style="opacity: 1;" src="${basePath}/resources/images/by.jpg" width="672" height="105" alt=""></a>
		</div>	
	</div>
	<div class="clear"></div>
	<div class="nav">
		<ul>
			<li><a class="hover" href="${basePath}/stage/index">首页</a></li>
			<li><a href="${basePath}/stage/java">java培训</a></li>
			<li><a href="${basePath}/stage/vip">VIP专场</a></li>
			<li><a href="${basePath}/stage/enroll">报名流程</a></li>
			<li><a href="${basePath}/stage/course">在线课堂</a></li>
			<li><a href="${basePath}/stage/book">留言板</a></li>
			<tz:if test="${session_user.username != null}">
				<tz:then>
					<li style="margin-left:138px;line-height:41px;font-size:16px;color:pink">${session_user.username}</li><li><a style="font-size:16px;color: #fff;" href="${basePath}/userlogout">退出</a></li>
				</tz:then>
				<tz:else>
					<li style="margin-left:138px;border-right:1px solid #fff"><a style="font-size:16px;color: #fff;" id="example" href="javascript:void(0)" onclick="tmLogin.dialog()">登录</a></li><li><a style="font-size:16px;color: #fff;" href="${basePath}/stage/regest">注册</a></li>
				</tz:else>
			</tz:if>
		</ul>
	</div>
</div>
<div id="LoginBox">
  <div class="row1">
      <b class="userTitle">用户登录</b><a href="javascript:void(0)" title="关闭窗口" class="close_btn" id="closeBtn">×</a>
  </div>
  <div class="row">
      用户名: <span class="inputBox">
          <input type="text" class="inpt" id="tmaccount" name="account" placeholder="账号/邮箱" autofocus="autofocus"/>
      </span><a href="javascript:void(0)" title="提示" class="warning" id="warn">X</a>
  </div>
  <div class="row">
      密&nbsp;码: <span class="inputBox">
          <input type="password" class="inpt" id="tmpassword"  name="password"  placeholder="密码" />
      </span><a href="javascript:void(0)" title="提示" class="warning" id="warn2">X</a>
  </div>
  <div class="row">
      <input id="loginbtn" type="button" onclick="tmLogin.login()" class="submit_btn" value="登 录" />
      <a class="rg" href="${basePath}/stage/regest">去注册</a>
    </div>
</div>